package com.itheima.health.service;

import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.CheckItem;
import com.itheima.health.result.PageResult;
import com.itheima.health.result.QueryPageBean;

import java.util.List;

public interface CheckGroupService {

    void add(CheckGroup checkGroup, List<Integer> checkItemIds);

    PageResult pageQuery(QueryPageBean queryPageBean);

    CheckGroup findById(Integer id);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    void edit(CheckGroup checkGroup, List<Integer> checkitemIds);

    void delete(Integer id);

    List<CheckGroup> findAll();
}
